package com.tuo51.manager.domain;

import com.tuo51.foudation.model.Domain;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 系统菜单表
 */
@Data
@Entity
@Table(name = "sys_menu")
public class Menu extends Domain implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 菜单名称
     */
    @Column(name = "menu_name", nullable = false)
    private String menuName;

    /**
     * 菜单路径
     */
    @Column(name = "menu_path", nullable = false)
    private String menuPath;

    /**
     * 上级id
     */
    @Column(name = "menu_parent_id")
    private String menuParentId;

    /**
     * 创建时间
     */
    @Column(name = "create_time", nullable = false)
    private Timestamp createTime;

    /**
     * 修改时间
     */
    @Column(name = "update_time", nullable = false)
    private Timestamp updateTime;

    
}